package com.kitri.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.kitri.dao.*;
import com.kitri.domain.JuctionReMb;

@Service
public class JuctionReMbServiceImpl implements JuctionReMbService {
	private JuctionReMbDao juctionReMbDao = null;
	
	public JuctionReMbServiceImpl() {
		this.juctionReMbDao = ((JuctionReMbDaoImpl) AppContext
				.getAppContext().getBean("juctionReMbDao"));

	}

	@Override
	public void add(JuctionReMb juctionReMb) {
		juctionReMbDao.add(juctionReMb);
	}

	@Override
	public void remove(JuctionReMb juctionReMb) {
		juctionReMbDao.remove(juctionReMb);
	}

	@Override
	public void removeOfBoard(int boardSeq) {
		juctionReMbDao.removeOfBoard(boardSeq);
	}

	@Override
	public boolean checkIt(JuctionReMb juctionReMb) {
		return juctionReMbDao.checkIt(juctionReMb);
	}

	@Override
	public List<JuctionReMb> list() {
		return juctionReMbDao.list();
	}


}
